package com.pth.dao;

import java.util.List;

import com.pth.model.Zhinan;

public interface ZhinanDAO {

	public void add(Zhinan zhinan);
	
	public void delete(Zhinan zhinan);
	
	public void update(Zhinan zhinan);
	
	public List<Zhinan> getZhinans(final int pagesize,final int offset);
	
	public List<Zhinan> getZhinansOrderByScannum(final int pagesize,final int offset);
	
	public Zhinan getZhinanByid(int id);
	
	public int getAllNum();
	
	List<Zhinan> getAllZhinans();
	
	
	
}
